import "tailwindcss/tailwind.css";
import "./style.scss";
import { createApp } from "vue"
import app from "@/pages/app-outside.vue";
import router from "@/router";
import store from "@/store";
import naive from "naive-ui";

// 修复NaiveUI样式被tailwindCSS覆盖的问题, 将其插入到tailwindCSS之后
// https://www.naiveui.com/zh-CN/os-theme/docs/style-conflict
(function () {
    const meta = document.createElement('meta')
    meta.name = 'naive-ui-style'
    document.head.appendChild(meta)
})();

createApp(app)
    .use(store)
    .use(router)
    .use(naive)
    .mount("#app");
